<div class="panel panel-default panel-intro">
    {:build_heading()}
    <input id="project_id" value="{$project_id}" style="display: none;"/>
    <input id="expert_ids" value="{$expert_ids}" style="display: none;"/>
    {if condition=" $project_id > 0"}
    <div> 
        <div class="panel-body col-xs-12 col-sm-7 col-md-8 col-lg-9">
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane fade active in" id="one">
                    <div class="widget-body no-padding"> 
                        <div id="toolbar" class="toolbar">
                            <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a>   
                        </div>
                        <table id="table" class="table table-striped table-bordered table-hover table-nowrap "
                            data-operate-edit=""
                            data-operate-del="" width="100%">
                        </table>
                    </div>
                </div> 
            </div>
        </div>
        <div class="col-xs-12 col-sm-5 col-md-4 col-lg-3">
            <div id="myTabContent1" class="tab-content">
                <div class="tab-pane fade active in" id="one1">
                    <div class="widget-body no-padding"> 
                        <div id="toolbar2" class="toolbar">
                            <a class="btn btn-info btn-selected btn_qdsc"  href="javascript:;">确定上传</a>  
                        </div> 
                        <table id="table1" class="table table-striped table-bordered table-hover table-nowrap" width="100%"> </table>
                    </div>
                </div> 
            </div>
        </div> 
    </div>
    {else} 
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding"> 
                    <div id="toolbar2" style="display: none;" class="toolbar"></div>
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                            class="fa fa-refresh"></i> </a>  
                           <button type="button" id="faupload-student" class="btn btn-info btn-import {:$auth->check('expert/import_excel')?'':'hide'}" data-input-id="c-local" data-mimetype="xls,xlsx"  data-preview-id="p-local" data-url="{:url('expert/import_excel')}"><i class="fa fa-upload"></i> {:__("导入")}</button>
                           <a href="/专家信息表.xls" class="btn btn-success" >下载模板</a>

                           <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('expert/add')?'':'hide'}"
                                title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                            <a href="javascript:;"
                                class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('expert/edit')?'':'hide'}"
                                title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                            <a href="javascript:;"
                                class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('expert/del')?'':'hide'}"
                                title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>

                            <a class="btn btn-success btn-recyclebin btn-dialog {:$auth->check('expert/recyclebin')?'':'hide'}"
                                href="expert/recyclebin" title="{:__('Recycle bin')}"><i class="fa fa-recycle"></i>
                                {:__('Recycle bin')}</a>
                         
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                        data-operate-edit="{:$auth->check('expert/edit')}"
                        data-operate-del="{:$auth->check('expert/del')}" width="100%">
                    </table>
                </div>
            </div> 
        </div>
    </div>
    {/if} 

</div>
<script> var professional=<?php echo json_encode($professional); ?>; </script> 
<script> var position=<?php echo json_encode($position); ?>; </script>
<script> var expert_data=<?php echo json_encode($expert_data); ?>; </script>

 

<script id="sourcetpl" type="text/html">
    <div class="row">
        <div class="form-inline" data-toggle="cxselect"
                data-url="/assets/libs/fastadmin-cxselect/js/cityData.min.json" data-selects="province,city,area"
                data-json-space="" data-json-name="n" data-json-value="">
                <select class="province form-control" name="province" data-first-title="选择省" style="width:35%;">
                    <option value="">请选择</option>
                    <option value="陕西省" selected="">陕西省</option>  
                </select> 
                <input type="hidden" class="operate" data-name="province" value="=" />

                <select class="city form-control" name="city" data-first-title="选择市" style="width: 30%;">
                    <option value="">请选择</option> 
                </select>
                <input type="hidden" class="operate" data-name="city" value="=" />
               
                <select class="area form-control" name="area" data-first-title="选择地区" style="width: 30%;">
                    <option value="">请选择</option> 
                </select>
                <input type="hidden" class="operate" data-name="area" value="=" />
            </div> 
    </div>
</script>